package api.house;

import com.github.pagehelper.PageInfo;
import dto.Dto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import pojo.House_order;
import pojo.ListHo;

public interface HouseApi {
    @RequestMapping("addHo")
    Dto<Integer> addHo(@RequestBody House_order house_order);
    @RequestMapping("deleHo")
    Dto<Integer> deleHo(@RequestParam("id") String id);
    @RequestMapping("listHo")
    Dto<PageInfo<House_order>> listHo(@RequestBody ListHo listHo);

    @RequestMapping("contHo")
    Dto<Integer> contHo();

}
